﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="orderComplainList.aspx.cs" Inherits="WebSite.admin.order.orderComplainList" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head2" runat="server">
    <title>投拆列表</title>
    <link href="../css/skin.css" rel="stylesheet" type="text/css" />

</head>
 

 <body class="body">
    <form id="form1" runat="server">
      <table width="100%" border="0" cellpadding="0" cellspacing="4"  class="main">
    <tr>
      <td width="4%"><img height="22" alt="SEARCH" src="../images/icon_search.gif" width="26" border="0" /></td>
      <td width="6%">订单号</td>
      <td width="10%"><input size="12" name="ordercode" id="ordercode" runat="server" /></td>
      <td width="10%">
          <asp:DropDownList ID="ddlCompainType" runat="server">
         
          </asp:DropDownList>
        </td>
      <td width="6%">处理类别</td>
      <td width="10%" align="left">
          <asp:DropDownList ID="ddlProcessType" runat="server">
          <asp:ListItem Value="0" Text="未处理"></asp:ListItem>
          <asp:ListItem Value="1" Text="已处理"></asp:ListItem>
          </asp:DropDownList>
        </td>
      <td width="18%" align="left">
          &nbsp;</td>
      <td width="8%" align="left">
       <asp:ImageButton ID="ibtnSearch" ImageUrl="../images/button04.gif" runat="server" OnClick="ibtnSearch_Click" />
      </td>
    </tr>
  </table>
    <div class="maincontent">
  <asp:GridView ID="GridView1" runat="server" Width="100%" CellPadding="4" ForeColor="#333333" DataKeyNames="compainid" AutoGenerateColumns="False" AllowPaging="True" pagesize="30" BorderStyle="Solid" BorderWidth="1px"
      ShowFooter="false" EmptyDataText="没有数据记录！！" >
        <Columns>
        <asp:HyperLinkField DataNavigateUrlFields="orderid" DataNavigateUrlFormatString="orders.aspx?oid={0}" HeaderText="订单号" ItemStyle-Width="60px" DataTextField="ordercode" /> 
        <asp:BoundField HeaderText="投诉类别" DataField="CompainName" ItemStyle-Width="80px" sortexpression="pay" />
        <asp:BoundField HeaderText="投诉内容" DataField="Content"  sortexpression="totalprice" />
        <asp:BoundField HeaderText="投诉时间" DataField="AddDate"  ItemStyle-Width="120px" sortexpression="ordertime" />
        <asp:BoundField HeaderText="处理结果" DataField="Process"  sortexpression="ordertime" />
         <asp:BoundField HeaderText="处理时间" DataField="ProcessDate"  ItemStyle-Width="140px" sortexpression="ordertime" />
     
        <asp:TemplateField ShowHeader="False" HeaderText="操作">
        <ItemStyle Width="60px" />
             <ItemTemplate>
              <a title="查看" href="orders.aspx?oid=<%# Eval("orderid") %>&flag=2"><img height="16" src="../images/icon_view.gif" width="16" border="0" /></a>
             </ItemTemplate>
        </asp:TemplateField>
        </Columns>
             <FooterStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />             
             <PagerStyle BackColor="White" ForeColor="#333333" HorizontalAlign="Center" Font-Bold="True" Font-Size=30px />
             <HeaderStyle BackColor="#E2E7EB" Font-Bold="True" ForeColor="Black" HorizontalAlign="Left" />
             <AlternatingRowStyle BackColor="White" />
             <PagerSettings Visible="False" />
    </asp:GridView>
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
       <tr>
         <td height="25" align="right" bgcolor="#E9ECEF"><asp:Label ID="LblRecordCount" runat="server"></asp:Label>
            <asp:Label ID="LblCurrentIndex" runat="server"></asp:Label>
            <asp:Label ID="LblPageCount" runat="server"></asp:Label>
            &nbsp;&nbsp;&nbsp;&nbsp;
            <asp:LinkButton ID="btnFirst" CommandArgument="first" OnClick="PagerButtonClick" runat="server">首 页</asp:LinkButton> 
            <asp:LinkButton ID="btnPrev" CommandArgument="prev" OnClick="PagerButtonClick" runat="server">上一页</asp:LinkButton> 
            <asp:LinkButton ID="btnNext" CommandArgument="next" OnClick="PagerButtonClick" runat="server">下一页</asp:LinkButton> 
            <asp:LinkButton ID="btnLast" CommandArgument="last" OnClick="PagerButtonClick" runat="server">尾 页</asp:LinkButton> 
             跳转到第<asp:DropDownList ID="ddlCurrentPage" runat="server" AutoPostBack="True" OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged"> </asp:DropDownList>页&nbsp;
         </td>
       </tr>
    </table>
    </div>
    </form>
</body>
</html>
